package com.jrx.anytxn.transaction.dto.payment;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 借款历史记录响应参数
 *
 * @Author liuzb
 * @Date 12:39 上午 星期四 2023/03/09
 **/
public class LoanRepaymentVo {


    /**
     * 还款流水
     */
    @ApiModelProperty(value = "还款流水")
    private String paySeq;
    /**
     * 分配的还款金额
     */
    @ApiModelProperty(value = "分配的还款金额")
    private BigDecimal paidAllocationAmount;
    /**
     * 已还本金
     */
    @ApiModelProperty(value = "已还本金")
    private BigDecimal paidPrincipalAmount;

    /**
     * 已还利息
     */
    @ApiModelProperty(value = "已还利息")
    private BigDecimal paidInterestAmount;

    /**
     * 已还罚息/费
     */
    @ApiModelProperty(value = "已还罚息/费")
    private BigDecimal paidPenaltyAmount;
    /**
     * 业务时间
     */
    @ApiModelProperty(value = "业务时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date businessTime;


    /**
     * 获取 还款流水
     *
     * @return paySeq 还款流水
     */
    public String getPaySeq() {
        return this.paySeq;
    }

    /**
     * 设置 还款流水
     *
     * @param paySeq 还款流水
     */
    public void setPaySeq(String paySeq) {
        this.paySeq = paySeq;
    }

    /**
     * 获取 已还本金
     *
     * @return paidPrincipalAmount 已还本金
     */
    public BigDecimal getPaidPrincipalAmount() {
        return this.paidPrincipalAmount;
    }

    /**
     * 设置 已还本金
     *
     * @param paidPrincipalAmount 已还本金
     */
    public void setPaidPrincipalAmount(BigDecimal paidPrincipalAmount) {
        this.paidPrincipalAmount = paidPrincipalAmount;
    }

    /**
     * 获取 已还利息
     *
     * @return paidInterestAmount 已还利息
     */
    public BigDecimal getPaidInterestAmount() {
        return this.paidInterestAmount;
    }

    /**
     * 设置 已还利息
     *
     * @param paidInterestAmount 已还利息
     */
    public void setPaidInterestAmount(BigDecimal paidInterestAmount) {
        this.paidInterestAmount = paidInterestAmount;
    }

    /**
     * 获取 已还罚息费
     *
     * @return paidPenaltyAmount 已还罚息费
     */
    public BigDecimal getPaidPenaltyAmount() {
        return this.paidPenaltyAmount;
    }

    /**
     * 设置 已还罚息费
     *
     * @param paidPenaltyAmount 已还罚息费
     */
    public void setPaidPenaltyAmount(BigDecimal paidPenaltyAmount) {
        this.paidPenaltyAmount = paidPenaltyAmount;
    }

    /**
     * 获取 业务时间
     *
     * @return businessTime 业务时间
     */
    public Date getBusinessTime() {
        return this.businessTime;
    }

    /**
     * 设置 业务时间
     *
     * @param businessTime 业务时间
     */
    public void setBusinessTime(Date businessTime) {
        this.businessTime = businessTime;
    }

    /**
     * 获取 分配的还款金额
     *
     * @return paidAllocationAmount 分配的还款金额
     */
    public BigDecimal getPaidAllocationAmount() {
        return this.paidAllocationAmount;
    }

    /**
     * 设置 分配的还款金额
     *
     * @param paidAllocationAmount 分配的还款金额
     */
    public void setPaidAllocationAmount(BigDecimal paidAllocationAmount) {
        this.paidAllocationAmount = paidAllocationAmount;
    }
}
